package com.dz.mapper;

import com.dz.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 鄧浩奇
 * @classname DishFlavorMapper
 * @description
 * @since 2023/12/25 21:52
 **/

@Mapper
public interface DishFlavorMapper {

    List<DishFlavor> getFlavorByDishId(Long id);

    void deleteByDishId(Long id);

    Integer insertBatch(List<DishFlavor> flavorList);

    Integer deleteBatch(List<Long> ids);

}
